package cate.common.table.pvp.crossboss;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class CrossBossCookRow extends ERow {
    @NoteField("类型")
    public byte type;

    @NoteField("次数")
    public int times;

    @NoteField("消耗")
    public String consumeStr;

    @NoteField("普通奖励")
    public String rewardStr;

    @NoteField("阶段奖励")
    public String doneRewardStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.type = xrw.getByte("食物类型");
        this.times = xrw.getInteger("次数");
        this.consumeStr = xrw.getString("消耗");
        this.rewardStr = xrw.getString("普通奖励");
        this.doneRewardStr = xrw.getString("阶段奖励");
    }
}
